package com.itheima.Thread;

//创建类，继承线程类:Thread
public class Mytherad  extends Thread{
    @Override
    public void run() {
        //子线程运行代码
        for (int i = 0; i < 10; i++) {
            System.out.println("下载学习资料。。。"+i);
        }
    }
}
